export const relpaceApi = (url, params) => {
  return url.replace(/\{.+?\}/g, match => {
    return params[match.replace(/[{|}]/g, "")] || "";
  });
};
